import worker from '@ohos.worker';
import { post100kFile } from '../common/PostAndGetFiles'

let parentPort = worker.workerPort;

parentPort.onmessage = async function (e) {
    let data = e.data
    console.log("taobao onmessageData333")
    const newData = await post100kFile()

    parentPort.postMessage(newData)
}